/**
 * Created by henian.xu on 2018/8/24.
 * App 混合器
 */

import { createNamespacedHelpers } from 'vuex';
const { mapGetters: mapGettersGlobal, mapMutations: mapMutationsGlobal } = createNamespacedHelpers('global');

export default {
    computed: {
        ...mapGettersGlobal(['pageTitle', 'pageSubTitle']),
    },
    methods: {
        ...mapMutationsGlobal(['updatePageData']),
    },
};
